fun main(args: Array<String>) {
    val name = "Madrigal"
//    var healthPoints = 100
    var healthPoints = 89
    val isBlessed = true
    val isImmortal = false

    val auraVisibal = isBlessed && healthPoints > 50 || isImmortal

    var auraColor = if (auraVisibal) "GREEN" else "NONE"

    println(auraColor)

    val healthStatus = if (healthPoints == 100) {
        "is in excellent condition!"
    } else if (healthPoints >= 90) {
        "has a few scratches"
    } else if (healthPoints >= 75) {
        if (isBlessed) {
            "has some minor wounds but is healing quite quickly!"
        } else {
            "has some minor wounds"
        }
    } else if (healthPoints >= 15) {
        "looks pretty hurt"
    } else {
        "is in awful condition!"
    }
    println(name + " " + healthStatus)
}